using KenEgozi.Com.Domain.Aggregates.Common;
using KenEgozi.Com.Domain.Interfaces.Repositories;
using Rhino.Commons;
using KenEgozi.Com.Domain.Aggregates.Tag;

namespace KenEgozi.Com.Domain.Repositories
{
	public static class Repository
	{
		public static IPostsRepository Posts
		{
			get { return IoC.Resolve<IPostsRepository>(); }
		}
		public static IRepository<Tag> Tags
		{
			get { return IoC.Resolve<IRepository<Tag>>(); }
		}
		public static IRepository<BlogrollEntry> BlogrollEntries
		{
			get { return IoC.Resolve<IRepository<BlogrollEntry>>(); }
		}
		public static IRepository<Download> Downloads
		{
			get { return IoC.Resolve<IRepository<Download>>(); }
		}
		public static IRepository<RedirectionEntry> Redirections
		{
			get { return IoC.Resolve<IRepository<RedirectionEntry>>(); }
		}
		public static IRepository<BadWord> BadWords
		{
			get { return IoC.Resolve<IRepository<BadWord>>(); }
		}
		public static IRepository<BadIP> BadIPs
		{
			get { return IoC.Resolve<IRepository<BadIP>>(); }
		}
		public static IRepository<Password> Passwords
		{
			get { return IoC.Resolve<IRepository<Password>>(); }
		}
	}
}